<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, user-scalable=no" />
        <link rel="stylesheet" type="text/css" href="css/index.css" />
            <title>Demo</title>
            <script type="text/javascript">
                
                window.uexOnload = function()
                {
                    uexWidgetOne.onError = function(opCode, errorCode, errorDesc)
                    {
                        alert(errorCode + ":" + errorDesc);
                    }
                }
            
                function createDemo()
                {
                    uexPluginName.returnPhotoPath = function(opCode, dataType, data)
                    {
                        alert(data);
                    }
                    uexPluginName.open();
                }
            
            </script>
    </head>
    
    <body>
        <div class="tit">PluginDemo</div>
        <div class="conbor">
            <div class="consj">
                <input class="btn" type="button" value="获取照片" onclick="createDemo()"/>
            </div>
        </div>
    </body>
</html>